package com.kgc.smbms.service;


import com.kgc.smbms.entity.Provider;

import java.util.List;

public interface ProviderService {
    List<Provider> getAll();

    List<Provider>getProviderByCondition(String proName);

    Provider getProviderById(int id);

    boolean check(String type, String param);

    boolean add(Provider provider);

    boolean update(Provider provider);

    boolean delete(int id);
}
